﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for UploadResult
/// </summary>
public class UploadResult
{
    private object errorData;
    private ImportedRecordsResult summaryRecordsResult;
    private ErrorLog log;

    public ErrorLog Log 
    { 
        get{ return log;} 
    }


    public object ErrorData
    {
        set
        {
            errorData = value;
        }
        get
        {
            return errorData;
        }
    }

    public ImportedRecordsResult SummaryRecordsResult
    {
        set
        {
            summaryRecordsResult = value;
        }
        get
        {
            return summaryRecordsResult;
        }
    }

	public UploadResult()
	{
        log = new ErrorLog();
        summaryRecordsResult = new ImportedRecordsResult();
	}

    public UploadResult(object errorData)
    {
        log = new ErrorLog();
        this.errorData = errorData;
        summaryRecordsResult = new ImportedRecordsResult();
    }

}